import java.util.Scanner;

class Test1{
    public int test(){
        return 10;
    }
}
class Data {

    private int x;
    private int y;

    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }

    public int getX() {
        return x;
    }

    public int getY() {
        return y;
    }

}
public class test_5_8 {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }
    public static int test2(){
        return 10;
    }
    public static void main1(String[] args) {
        Test1 s = new Test1();
        s.test();
        int j = s.test();
        System.out.println(j);
        test2();
        int i = test2();
        System.out.println(i);
    }
}
